package co.yixiang.yshop.module.product.controller.admin.producttag.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * 商品优惠券 DO
 *
 * @author moxiangrong
 */

@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProductTagCreateReqParam{

    @Schema(description = "tag名", example = "1")
    @NotNull(message = "标签名称不能为空")
    private String tagName;

    @Schema(description = "组id", example = "1")
    @NotNull(message = "标签组不能为空")
    private Long groupId;

    @Schema(description = " 样式：1：自定义，2：图片", example = "1")
    @NotNull(message = "样式类型不能为空")
    private Integer styleType;

    @Schema(description = "字体颜色", example = "1")
    private String  fontColor;

    @Schema(description = "背景颜色", example = "1")
    private String  bgColor;

    @Schema(description = "边框颜色", example = "1")
    private String  borderColor;

    @Schema(description = "图地址", example = "1")
    private String imageUrl;

    @Schema(description = "排序", example = "1")
    @NotNull(message = "排序值不能为空")
    private Integer sort;
}
